﻿using Architecture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain.RBAC
{
    /// <summary>
    /// 菜单表
    /// </summary>
    public class Menu : Approval
    {
        [Key]
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string? MenuName { get; set; }
        /// <summary>
        /// 菜单地址
        /// </summary>
        public string? Url { get; set; }
        /// <summary>
        /// 父级菜单Id
        /// </summary>
        public int PId { get; set; }

        public bool IsDelete { get; set; } = false;
    }
}
